package com.ansion.utils;

/**
 * Setting db key
 *
 * @author deanye
 */
public interface SettingConstants {

    /**
     * General Config Setting
     *
     * @author deanye
     */
    interface GeneralConfigSetting {

        boolean NOTIFICATION_ALERT_DEFAULT = true;
        boolean NOTIFICATION_VIBRATE_DEFAULT = true;
        boolean NOTIFICATION_PREVIEW_DEFAULT = true;
        boolean NOTIFICATION_FRIEND_JOIN_DEFAULT = false;

        String NOTIFICATION_CHAT_SOUND = "chat_sound_switch";

        String NOTIFICATION_VIBRATE_KEY = "notification_vibrate";
        String NOTIFICATION_FRIEND_JOIN = "notification_friend_join";
        String NOTIFICATION_ALERT_KEY = "notification_alert";
        String NOTIFICATION_PREVIEW_KEY = "message_preview";

        String NOTIFICATION_SOUND_URI = "notify_sound_uri";
        String BACKGROUND_IMAGE_KEY = "background_image_key";
        String SETTING_GLOBLE_BACKGROUD_TIME = "setting_globle_background_time";
        String SETTING_BACKGROUND_TIME = "_setting_background_time";
        String URI_NONE = "notify_sound_uri_none";

        String HAVESHOWN_FRIENDQUAN_GUIDE = "have_shown_friendquan_guide";

        String CALLS_VIBRATE_KEY = "calls_vibrate";
        boolean CALLS_VIBRATE_DEFAULT = true;


        String CALLS_ACCEPT_ONLY_FRIEND_KEY = "calls_accept_only_friend";

        String ENABLE_VOICE_CALL_KEY = "EnableVoiceCall";
        boolean ENABLE_VOICE_CALL_DEFAULT = true;

        String ENABLE_VIDEO_CALL_KEY = "EnableVideoCall";
        boolean ENABLE_VIDEO_CALL_DEFAULT = true;

        String FAVOURITE_GROUPS_KEY = "Favourite_groups_key";

        String WEBLOGIN_QRCODE_TIPSHOWN_KEY = "Weblogin_qrcode_tipshown_key";
    }

    interface RegisterConfigSetting {

        String SETTING_ALLOW_UPLOAD_CONTACTS = "allow_upload_contacts";

        String SETTING_HAS_ASK_USER_UPLOAD_CONTCTS = "has_ask_user_upload_contacts";


        String NEEDREMINDER_SETPWD = "need_reminder_setpwd";
        boolean NEEDREMINDER_SETPWD_DEFAULT = true;

    }

    interface ActivateSetting {

        String MATCHUSER_FORACTIVATEFINISH = "MatchUserForActivateFinish";
        boolean MATCHUSER_FORACTIVATEFINISH_DEFAULT = false;


        String K_ISACTIVATE = "k_isactivate";
        //是否是新激活的用户
        String Is_NEW_ACTIVATED = "is_new_activated";
    }

    interface ContactSetting {
        String FIRT_MATCHED = "first_matched";
        boolean FIRT_MATCHED_DEFAULT = false;

        String FIRT_UPLOADED = "first_uploaded";
        boolean FIRT_UPLOADED_DEFAULT = false;

        String CHECKED_OLD_VERSION_UPLOAD = "checked_old_version_upload";
        boolean CHECKED_OLD_VERSION_UPLOAD_DEFAULT = false;

    }

    interface LoginSyncDataSetting {

        String LAST_CHECK_LOGIN_TIME = "last_login_time";
    }


    interface FriendSetting {
        String UPLOADCONTACT_INCREMENT = "uploadcontact_increment";
        boolean UPLOADCONTACT_INCREMENT_DEFAULT = false;

    }


    /**
     * Tabhost Last clicked
     */
    String SETTING_LAST_TAB_INDEX = "last_tab_index";
    String SETTING_LAST_TAB_IS_RTL = "last_tab_is_rtl";


    String SETTING_LAST_REMIND_FRIENDS_LIMIT = "last_remind_friendlimit";


    interface CurrentUserSetting {


        String LAST_SEEN_TYPE = "last_seen_type";

        String PROFILE_PHOTO_TYPE = "profile_photo_type";
        String PROFILE_STATUS_TYPE = "profile_status_type";
        String WALLET_BADGE_TYPE = "wallet_badge_type";

        String HAVE_READ_PRIVACY_TYPE = "have_read_privacy_type";
        String VIP_BADGE_PRIVACY_TYPE = "vip_badge_privacy_type";


        int HAVE_READ_PRIVACY_TYPE_DEFULT = 1;
        int VIP_BADGE_PRIVACY_TYPE_DEFAULT = 1;
        int HAVE_WIFI4G_TYPE_DEFULT = 1;

        String PHOTO_AUTO_DOWNLOAD = "photoAutoDownloadOption";

        String VIDEO_AUTO_DOWNLOAD = "videoAutoDownloadOption";

        String ORGINALPHOTO_AUTO_DOWNLOAD = "orginalphotoAutoDownloadOption";

        String AUTO_SAVE = "auto_save";

        boolean AUTO_SAVE_DEFAULT = false;

        String KEY_SHOW_SECURITY_NOTIFICATION = "key_show_security_notification";
    }

    interface AutoDownLoadOption {
        int NEVER = 0;
        int WIFI = 1;
        int WIFI_AND_CELLULAR = 2;

        int PHOTO_DEFULT = WIFI;
        int VIDEO_DEFULT = WIFI;
        int FULL_IMAGE_DEFAULT = WIFI;
    }

    interface LastSeenType {
        int EVERYONE = 1;
        int MY_CONTACE = 3;
        int NOBODY = 2;
    }

    interface HaveReadType {
        int ALLOW_NOT = 0; // 0代表不允许别人看到已读隐私，
        int ALLOW = 1; //1代表允许，默认是1.
    }

    interface TellFriendConstans {
        public static final String PREFENCE_SHOWTELLFRIEND_COUNT = "PREFENCE_SHOWTELLFRIEND_COUNT"; //记录tell friend 弹窗次数
        public static final String PREFENCE_TELLFRIEND_COUNT = "PREFENCE_TELLFRIEND_COUNT"; //记录tell friend计数器，满足一定条件后计数器会增加
    }

    interface RecentCallLogGet {
        public static final String RECENTCALLLOGGET = "isrecentcallloggeted"; //最近通话记录已获取
    }

    interface SomaNews {
        public static final String SHOWSOMANEWS = "showsomanews";
    }

    interface UploadContact {
        public static final String CONTACT_FAIL_UPLOAD_COUNT = "contact_fail_upload_count";
        public static final String CONTACT_SUCCESS_UPLOAD_COUNT = "contact_success_upload_count";
        public static final String CONTACT_START_UPLOAD_TIME = "contact_start_upload_time";
        public static final String CONTACT_NEEDREUPLOADCONTACTS = "contact_needreuploadcontacts";
        public static final String CONTACT_REUPLOADCONTACTS_TIME = "contact_reuploadcontacts_time";
    }

    interface AbstractTaskThreadLimitCountConstant {
        public static final String START_TIME = "abstracttaskthreadlimitcountconstant_start_time";
        public static final String LOOP_COUNT = "abstracttaskthreadlimitcountconstant_loop_count";
    }

    interface SyncBlockList {
        public static final String SYNC_BLOCK_LIST_STATE = "sync_block_list_state";
    }

    interface PublicAccount {
        public static final String SUBSRIBEBATCH = "SUBSRIBEBATCH";
        public static final String LISTRECOMMENDOFFICAL = "LISTRECOMMENDOFFICAL";
        public static final String SUBSRIBEBATCH_OIDS = "SUBSRIBEBATCH_OIDS";
        public static final String LISTRECOMMENDOFFICAL_SUCCESS = "LISTRECOMMENDOFFICAL_SUCCESS";
    }

    interface ServerUploadFile {
        public static final String PUBKEY_DEFAULT = "c70043d7a675b9fe10273293d7990aa6a295593b4ebaa0af9861770f5ebcef49";
        public static final String PUBKEY = "SERVERUPLOADFILE_PUBKEY";
    }

    interface AdsSetting {
        String ADS_CHECKCOUNT = "ads_checkcount";
        String ADS_CHECKTIME = "ads_checktime";
        String ADS_UNREADCOUNT = "ads_unreadcount";

        String ADS_LAUNCHADSMODEL = "ads_launchadsmodel";
    }

    interface HwSetting {
        String HWPERMISSION_TIP_FIRSTTIME = "hwpermission_tip_first";
        String NOT_SHOW_HWPERMISSION_TIP = "show_hwpermission_tip";
        String COUNT_HWPERMISSION_TIP = "count_hwpermission_tip";
    }

}
